//
//  HJHomeModel.h
//  Sneakers
//
//  Created by 胡光健 on 2017/10/13.
//  Copyright © 2017年 mac. All rights reserved.
//

#import <Foundation/Foundation.h>
/**首页*/
@class HJImageModel;
@interface HJHomeModel : NSObject

@property(nonatomic,copy)NSString *shoes_id;
@property(nonatomic,copy)NSString *shoes_name;
@property(nonatomic,copy)NSString *sell_date;
@property(nonatomic,copy)NSString *sell_money;
@property(nonatomic,copy)NSString *shoes_brand;
@property(nonatomic,copy)NSString *shoes_article_number;
@property(nonatomic,copy)NSString *shose_size_area;
@property(nonatomic,copy)NSString *state;
@property(nonatomic,copy)NSString *created_at;
@property(nonatomic,copy)NSString *updated_at;
@property(nonatomic,copy)NSString *avatar_path;
@property(nonatomic,copy)NSString *avatar_base_url;
@property(nonatomic,copy) NSString *reference_price;

@property(nonatomic,strong)NSString *surplus;
@property(nonatomic,strong)NSString *percent;
@property(nonatomic,strong)NSString *sales;
@property(nonatomic,copy)NSString *sell_num;
@property(nonatomic,copy)NSString *want_buy_num;
@property(nonatomic,strong)NSNumber *state2;

@property(nonatomic,strong)NSArray *img;
@property(nonatomic,strong)NSMutableArray * imageArray;
@end

@interface HJImageModel : NSObject

@property(nonatomic,strong)NSString *shoes_img_id;
@property(nonatomic,strong)NSString *shoes_id;
@property(nonatomic,strong)NSString *img_base_url;
@property(nonatomic,strong)NSString *img_path;
@end

/**商品详情*/
@interface HJHomeDetailModel : NSObject

@property(nonatomic,copy)NSString *order_id;
@property(nonatomic,copy)NSString *order_sn;
@property(nonatomic,copy)NSString *shoes_id;
@property(nonatomic,copy)NSString *shoes_size;
@property(nonatomic,copy)NSString *buyer_uid;
@property(nonatomic,copy)NSString *seller_uid;
@property(nonatomic,copy)NSString *deposit;
@property(nonatomic,copy)NSString *pay_reality;
@property(nonatomic,copy)NSString *pay_time;
@property(nonatomic,copy)NSString *pay_type;
@property(nonatomic,copy)NSString *order_status;
@property(nonatomic,copy)NSString *is_delete;
@property(nonatomic,copy)NSString *created_at;

// 出售
@property(nonatomic,copy)NSString *sell_id;
@property(nonatomic,copy)NSString *uid;
@property(nonatomic,copy)NSString *shoes_cost;
@property(nonatomic,copy)NSString *service_fee;
@property(nonatomic,copy)NSString *end_date;
@property(nonatomic,copy)NSString *state;

// 求购
@property(nonatomic,copy)NSString *want_buy_id;
@property(nonatomic,copy)NSString *want_buy_time;
@property(nonatomic,copy)NSString *address_id;
@property(nonatomic,copy)NSString *trade_detail;


@end
/**尺码*/
@interface HJHomeDetailCodeModel : NSObject
@property(nonatomic,copy)NSString *size;
@property(nonatomic,copy)NSString *cost;
@property(nonatomic,copy)NSNumber *check;
@property(nonatomic,copy)NSNumber *often_size;
@property(nonatomic,copy)NSNumber *shoes_id;
@end

/**订单详情*/
@class HJAddress,HJSell,HJHomeModel,HJHomeDetailModel;
@interface HJOderModel : NSObject
@property(nonatomic,copy)NSString *trade_detail;
@property(nonatomic,assign)CGFloat trade_H;
@property(nonatomic,strong)HJAddress *address;
@property(nonatomic,strong)HJHomeModel *shoes;
@property(nonatomic,strong)HJSell *sell;
@property(nonatomic,strong)NSString *serves_fee;
@property(nonatomic,strong)HJHomeDetailModel *want_buy;
@property(nonatomic,assign)BOOL is_check;
@property(nonatomic,assign)NSInteger currentTag;
@end

@interface HJAddress : NSObject
@property(nonatomic,strong)NSString *address_id;
@property(nonatomic,strong)NSString *uid;
@property(nonatomic,strong)NSString *name;
@property(nonatomic,strong)NSString *province;
@property(nonatomic,strong)NSString *city;
@property(nonatomic,strong)NSString *town;
@property(nonatomic,strong)NSString *mobile;
@property(nonatomic,strong)NSString *is_default;
@property(nonatomic,strong)NSString *created_at;
@property(nonatomic,strong)NSString *address;
@property(nonatomic,strong)NSString *detail_address;
@end

@interface HJSell : NSObject

@property(nonatomic,strong)NSString *sell_id;
@property(nonatomic,strong)NSString *shoes_id;
@property(nonatomic,strong)NSString *shoes_size;
@property(nonatomic,strong)NSString *order_id;
@property(nonatomic,strong)NSString *uid;
@property(nonatomic,strong)NSString *shoes_cost;
@property(nonatomic,strong)NSString *service_fee;
@property(nonatomic,strong)NSString *state;
@property(nonatomic,strong)NSString *created_at;

@end


